<script setup lang="ts">
defineProps({
  title: {
    type: String,
    default: '请输入标题'
  }
})
</script>

<template>
<div class="m-label">
  <span>{{title}}</span>
</div>
</template>

<style scoped>
.m-label{
  padding: 12px 20px;
  color: aliceblue;
  background: linear-gradient(to right, rgb(17, 65, 205), rgba(51, 51, 51, 0));
  margin-top: 5px;
  margin-bottom: 5px;
}
</style>
